
const dynamicRoutes=[{
  //动态的将路由添加到路由里
        path: "/",
        name: "home",
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () =>import(/* webpackChunkName: "about" */ "../pages/Home"),
    
        children:[]
      },
      {
        path:"*",
        component:()=>import(/*webpackChunkName:'page404'*/'../pages/page404')
      },
    ]
export default dynamicRoutes